<?php $start = microtime(TRUE); ?>
<?php 
include "./adminfunctions.php";
session_start();
if(!session_is_registered("username")){
header("location:index.php");
}
$deleted = (isset ($_GET['deleted']))? $_GET['deleted'] : FALSE;
?>
<html>
<head>
<title>Admin Panel :: Delete Quotes</title>
<?php css($css); ?>
</head>
<body>
<?php qheader(); ?>
<center>
Admin: <?php adminlinks(); ?>
<br><br><br>
<br>
<font face="arial" size="3"><br>
<div id="body">
 <?php
 	if($deleted){
 		echo '<font face="arial" size="3" color="red"> Deleted Quote '.$deleted.'.</font><br><br>';
 	}
 	?>

<form method="post" name="delform" action="delquotes2.php">
<fieldset>
    <legend>Quote Number:</legend><p>
<input type="text" name="qnum" size="8"><br>
          </p></fieldset>
          
<fieldset>
<!-- protect the user from themselve -->
    <legend>Confirm:</legend><p>
    Re-type the Quote Number again, to check for any possible typo:<br>
<input type="text" name="yno" size="8"><br>
          </p></fieldset>

<input type="submit" value="Delete Quote">
</form>
</div></body>


</div>

<br><br><font size="2">
<?php footer(); ?>
<?php
$finish = microtime(TRUE);
$total_time = round(($finish - $start), 4);
echo '<br>Page generated in '.$total_time.' seconds.'."\n";   
?>
</font>
</center>
</html>

